Projects each element of a view into a new form.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public View<TResult> Select<TResult>(
	Expression<Func<T, TResult>> selector
)
Visual Basic
Public Function Select(Of TResult) ( _
	selector As Expression(Of Func(Of T, TResult)) _
) As View(Of TResult)

Parameters

selector
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>
A transform function to apply to each element.

Type Parameters

TResult
The type of the value returned by selector.

Return Value

A view whose elements are the result of invoking the transform function on each element of this view.

See Also